package shiro.com.domain.discuss;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import shiro.com.basie.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 discuss_message
 *
 * @author ruoyi
 * @date 2022-12-01
 */
public class DiscussMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 内容 */
    private String content;

    /** $column.columnComment */
    private String nickname;

    /** $column.columnComment */
    private String avatar;

    /** $column.columnComment */
    private String ipAddress;

    /** $column.columnComment */
    private String ipSource;

    /** $column.columnComment */
    private Integer time;

    /** 状态 0:审核  1：正常 */
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setNickname(String nickname)
    {
        this.nickname = nickname;
    }

    public String getNickname()
    {
        return nickname;
    }
    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setIpAddress(String ipAddress)
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress()
    {
        return ipAddress;
    }
    public void setIpSource(String ipSource)
    {
        this.ipSource = ipSource;
    }

    public String getIpSource()
    {
        return ipSource;
    }
    public void setTime(Integer time)
    {
        this.time = time;
    }

    public Integer getTime()
    {
        return time;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("nickname", getNickname())
            .append("avatar", getAvatar())
            .append("ipAddress", getIpAddress())
            .append("ipSource", getIpSource())
            .append("time", getTime())
            .append("status", getStatus())
            .toString();
    }
}
